| Version | ID |
|---|---|
| 1.13.1 | 0x31 |
| 1.14.4 | 0x34 |
| 1.15.2 | 0x35 |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x35 | Play | Client | |||
| Feet/eyes | VarInt enum | Values are feet=0, eyes=1. If set to eyes, aims using the head position; otherwise aims using the feet position. | |||
| Target x | Double | x coordinate of the point to face towards | |||
| Target y | Double | y coordinate of the point to face towards | |||
| Target z | Double | z coordinate of the point to face towards | |||
| Is entity | Boolean | If true, additional information about an entity is provided. | |||
| Entity ID | Optional VarInt | Only if is entity is true — the entity to face towards | |||
| Entity feet/eyes | Optional VarInt enum | Whether to look at the entity's eyes or feet. Same values and meanings as before, just for the entity's head/feet. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x34 | Play | Client | |||
| Feet/eyes | VarInt enum | Values are feet=0, eyes=1. If set to eyes, aims using the head position; otherwise aims using the feet position. | |||
| Target x | Double | x coordinate of the point to face towards | |||
| Target y | Double | y coordinate of the point to face towards | |||
| Target z | Double | z coordinate of the point to face towards | |||
| Is entity | Boolean | If true, additional information about an entity is provided. | |||
| Entity ID | Optional VarInt | Only if is entity is true — the entity to face towards | |||
| Entity feet/eyes | Optional VarInt enum | Whether to look at the entity's eyes or feet. Same values and meanings as before, just for the entity's head/feet. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x31 | Play | Client | |||
| Feet/eyes | VarInt enum | Values are feet=0, eyes=1. If set to eyes, aims using the head position; otherwise aims using the feet position. | |||
| Target x | Double | x coordinate of the point to face towards | |||
| Target y | Double | y coordinate of the point to face towards | |||
| Target z | Double | z coordinate of the point to face towards | |||
| Is entity | Boolean | If true, additional information about an entity is provided. | |||
| Entity ID | Optional VarInt | Only if is entity is true — the entity to face towards | |||
| Entity feet/eyes | Optional VarInt enum | Whether to look at the entity's eyes or feet. Same values and meanings as before, just for the entity's head/feet. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x31 | Play | Client | |||
| Feet/eyes | VarInt enum | Values are feet=0, eyes=1. If set to eyes, aims using the head position; otherwise aims using the feet position. | |||
| Target x | Double | x coordinate of the point to face towards | |||
| Target y | Double | y coordinate of the point to face towards | |||
| Target z | Double | z coordinate of the point to face towards | |||
| Is entity | Boolean | If true, additional information about an entity is provided. | |||
| Entity ID | Optional VarInt | Only if is entity is true — the entity to face towards | |||
| Entity feet/eyes | Optional VarInt enum | Whether to look at the entity's eyes or feet. Same values and meanings as before, just for the entity's head/feet. |